﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.View;
namespace Benefit.Interface.View
{
    /// <summary>
    /// 本周均值
    /// </summary>
    public interface IOperatorAvgWeek
    {
        /// <summary>
        /// 初始化交易员周均值
        /// </summary>
        /// <param name="operatorId"></param>
        /// <param name="tradeHistoryId"></param>
        /// <param name="db"></param>
        /// <returns></returns>
        void InitOperatorAvgWeek(int tradeHistoryId);


        /// <summary>
        /// 获取交易员的周均值
        /// </summary>
        /// <param name="operatorId"></param>
        /// <param name="tradeHistoryId"></param>
        /// <param name="db"></param>
        /// <returns></returns>
        OperatorAvgWeek GetOperatorAvgWeek(int operatorId, int year, int week);


        void Delete(int tradeHistoryId);
    }
}
